package com.ruoyi.calendar.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * calendar对象 school_history
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public class schoolhistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private Long year;

    /** 月 */
    @Excel(name = "月")
    private Long month;

    /** 日 */
    @Excel(name = "日")
    private Long day;

    /** 星期 */
    @Excel(name = "星期")
    private String dayOfWeek;

    /** 假期 */
    @Excel(name = "假期")
    private Integer isHoliday;

    /** 假期名 */
    @Excel(name = "假期名")
    private String holidayName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }

    public void setMonth(Long month) 
    {
        this.month = month;
    }

    public Long getMonth() 
    {
        return month;
    }

    public void setDay(Long day) 
    {
        this.day = day;
    }

    public Long getDay() 
    {
        return day;
    }

    public void setDayOfWeek(String dayOfWeek) 
    {
        this.dayOfWeek = dayOfWeek;
    }

    public String getDayOfWeek() 
    {
        return dayOfWeek;
    }

    public void setIsHoliday(Integer isHoliday) 
    {
        this.isHoliday = isHoliday;
    }

    public Integer getIsHoliday() 
    {
        return isHoliday;
    }

    public void setHolidayName(String holidayName) 
    {
        this.holidayName = holidayName;
    }

    public String getHolidayName() 
    {
        return holidayName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("day", getDay())
            .append("dayOfWeek", getDayOfWeek())
            .append("isHoliday", getIsHoliday())
            .append("holidayName", getHolidayName())
            .toString();
    }
}
